package com.example.community.repository;

import com.example.community.entity.comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface commentMapper {
    List<comment> queryOneByArticleId(String article_id);

    int addOne(comment comment);

    int deleteOne(String id);

    int deleteArticleAllComment(String articleId);


}
